import { Module } from 'vuex'
import type { TRootState } from '../type'
import type { TLMvState } from './type'

const mvModule: Module<TLMvState, TRootState> = {
  namespaced: true,
  state() {
    return {
      mvDetailInfo: {},
      topMenu: {}
    }
  },
  getters: {},
  mutations: {
    fillDetailInfo(state, pyload: any) {
      state.mvDetailInfo = pyload
    },
    fillTopMenu(state, pyload: any) {
      state.topMenu = pyload
    }
  },
  actions: {}
}
export default mvModule
